<?php
include './header.php';

?> 
 <main class="content-mid">
		<div class="doc-wrapper">
			<div class="doc-content http">

				<div class="http-wrapper" data-active="0">
					<div class="http-nav-tab-wrapper">
						<div class="http-nav-tab-item active" data-tab="0">
							<div class="tab-item-text">文档</div>
						</div>
					</div>

					<article class="http-preview-container">
						<section class="section-wrapper">
							<div class="base-info">
								<div class="doc-title-wrapper">
									<div class="doc-title-row">
										<h1 class="section-title" style="margin-bottom: 0px;">
											<span style="font-weight: normal!important;">💵</span>
											签名算法
										</h1>
										
									</div>
									
								</div>
								<div class="doc-desc-wrapper">
									<h3 class="section-title">
										说明 / 示例
									</h3>
									<p class="desc-text">
									    1.对传入的参数 按照键名进行升序排序。<br>
									    2.遍历排序后的参数，将非空且不属于特定排除键名的键值对连接成一个字符串。<br>
									    3.在连接好的字符串末尾附加上密钥。<br>
									    4.使用 MD5 算法对附加了密钥的字符串进行摘要，生成签名<br>
									    示例值：
									    (pid=1000&type=alipay&out_trade_no=20160806151343349&notify_url=http://站点域名/notify_url.php&return_url=http://站点域名/return_url.php&name=一个奥利奥&money=1.00{商户密钥})
									</p>
								</div>
							</div>
						</section>
                           <div class="bottom-nav-wrapper">
                            <div class="bottom-nav-row" style="display: flex;">
                                <div class="bottom-nav text-hidden">
                                    <a href="./d_order.php" class="bottom-nav-link" data-id="AQiS0nrG">上一篇  单笔订单查询</a>
                                </div>
                                <!--<div class="bottom-nav text-hidden">-->
                                <!--    <a href="./d_order.php" class="bottom-nav-link" data-id="STMLK1Wg">下一篇 查询单个订单</a>-->
                                <!--</div>-->
                            </div>

                        </div>